package com.flyco.modules.fms.vo;

import java.util.List;
import com.flyco.modules.fms.entity.FmsCategory;
import com.flyco.modules.fms.entity.FmsCategorySub;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 科目大类
 * @Author: flyco
 * @Date:   2021-02-19
 * @Version: V1.0
 */
@Data
@ApiModel(value="fms_categoryPage对象", description="科目大类")
public class FmsCategoryPage {

	/**id*/
	private Long id;
	/**费用科目大类名称*/
  	@Excel(name = "费用科目大类名称", width = 15)
	private String name;
	/**收支类型:in/out*/
  	@Excel(name = "收支类型:in/out", width = 15)
	private String type;
	/**备注*/
  	@Excel(name = "备注", width = 15)
	private String note;
	/**删除状态：0->未删除；1->已删除*/
  	@Excel(name = "删除状态：0->未删除；1->已删除", width = 15)
	private Integer cancelFlag;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="科目小类")
	@ApiModelProperty(value = "科目小类")
	private List<FmsCategorySub> fmsCategorySubList;
	
}
